package com.easyCms.base.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.easyCms.base.entity.CmBanner;

public interface CmBannerDAO extends PagingAndSortingRepository<CmBanner, Long>, JpaSpecificationExecutor<CmBanner> {

	List<CmBanner> findByProjectCodeAndStateOrderBySortDesc(String projectCode, int stateValid);

}
